<?php /* Smarty version Smarty-3.0.7, created on 2014-10-21 11:11:00
         compiled from "C:\wamp\www\softpos\home\softpos\view\default\core\api\loglist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:187945445cec48d0743-99123006%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8d1b204794173faf2cfe3442cf701ff93ad1944b' => 
    array (
      0 => 'C:\\wamp\\www\\softpos\\home\\softpos\\view\\default\\core\\api\\loglist.tpl',
      1 => 1413861056,
      2 => 'file',
    ),
    'c9b15a8698186d32a772ffb9872ad170e2de94ef' => 
    array (
      0 => 'C:\\wamp\\www\\softpos\\home\\softpos\\view\\default\\/layout/member/layout.tpl',
      1 => 1413010229,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '187945445cec48d0743-99123006',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_block_php')) include 'C:\wamp\www\softpos\library\template\Smarty\plugins\block.php.php';
?><!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->getVariable('encoding')->value;?>
">
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
		<title><?php echo $_smarty_tpl->getVariable('site_name')->value;?>
</title>
		<meta http-equiv="cache-control" content="no-cache" />
		<!--[if lte IE 6]>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/DD_belatedPNG.js"></script>
		<![endif]-->
		<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/gzip.php?js=<?php echo $_smarty_tpl->getVariable('url_base')->value;?>
common/js/ajax/jquery/jquery-1.7.2.min.js"></script>
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/font-awesome-4.1.0/css/font-awesome.css">
	    <link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/bootstrap-override.css">
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?css=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/css/public.css">
		<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
resources/gzip.php?js=<?php echo $_smarty_tpl->getVariable('template_url')->value;?>
js/public.js"></script>
		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->css_ready)===null||$tmp==='' ? '' : $tmp);?>

		<?php echo (($tmp = @$_smarty_tpl->getVariable('viewObject')->value->js_ready)===null||$tmp==='' ? '' : $tmp);?>

	</head>
	<?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
flush();<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

	<body>
	<div style="clear:both"></div>
	<div class="shadow"></div>
	<div style="clear:both"></div>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/head.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
		
  <div class="container">
      <?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/left.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
      <div class="main_rigth">
			<div class="main_cent">
				<div class="main_title">
					<div class="site_name"><?php echo $_smarty_tpl->getVariable('site_name')->value;?>
</div>
					<div class="cardno">卡号：<span><?php echo $_smarty_tpl->getVariable('cardno')->value;?>
</span></div>
				</div>
				<div class="main_from">
					<table>
						<tr>
							<td>编号</td>
							<td>卡号</td>
							<td>操作</td>
							<td>时间</td>
							<td>状态</td>
						</tr>
						<?php  $_smarty_tpl->tpl_vars['log'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('logdata')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['log']->key => $_smarty_tpl->tpl_vars['log']->value){
 $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['log']->key;
?>
						<tr>
							<td><?php echo $_smarty_tpl->getVariable('log')->value->id;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('log')->value->card_no;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('log')->value->type;?>
</td>
							<td><?php echo $_smarty_tpl->getVariable('log')->value->time;?>
</td>
							<td class="status"><?php echo $_smarty_tpl->getVariable('log')->value->result;?>
</td>
						</tr>
						<?php }} ?>
					</table>
				</div>
				<div class="main_bnt">
					<form action="index.php?go=softpos.api.loglist" method="post" id="frm">
						<input type="hidden" id="cardno" name="cardno" value="<?php echo $_smarty_tpl->getVariable('cardno')->value;?>
">
						<input type="hidden" id="type" name="type" value="<?php echo $_smarty_tpl->getVariable('type')->value;?>
">
						<input type="hidden" id="sdate" name="sdate" value="<?php echo $_smarty_tpl->getVariable('sdate')->value;?>
">
						<input type="hidden" id="edate" name="edate" value="<?php echo $_smarty_tpl->getVariable('edate')->value;?>
">
						<input type="hidden" id="page" name="page" value="">
					</form>
					<ul class="page">
						<li class="up" page="1">首页</li>
						<?php if ($_smarty_tpl->getVariable('page')->value>1){?>
							<li class="up" page="<?php echo $_smarty_tpl->getVariable('page')->value-1;?>
">上页</li>
						<?php }else{ ?>
							<li class="up" page="1">上页</li>
						<?php }?>
						<?php if ($_smarty_tpl->getVariable('page')->value<$_smarty_tpl->getVariable('sum')->value){?>
							<li class="up" page="<?php echo $_smarty_tpl->getVariable('page')->value+1;?>
">下页</li>
						<?php }else{ ?>
							<li class="up" page="<?php echo $_smarty_tpl->getVariable('sum')->value;?>
">下页</li>
						<?php }?>
						<li class="up" page="<?php echo $_smarty_tpl->getVariable('sum')->value;?>
">未页</li>
						<li>
							<span class="page_text">共</span>
							<span class="page_num"><?php echo $_smarty_tpl->getVariable('sum')->value;?>
</span>
							<span class="page_text">页</span>
							<span class="page_text">第</span>
							<span class="page_num"><?php echo $_smarty_tpl->getVariable('page')->value;?>
</span>
							<span class="page_text">页</span>
						</li>
					</ul>
				</div>
				</div>
			</div>
      </div>
  </div>

<!--[if lt IE 9]>
　　　　<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('templateDir')->value)."/layout/member/foot.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
	</body>
</html>